<HTML>
<HEAD>
<!------------------------------------------------------>
<TITLE>Charger un Fichier Local ou depuis un Site</TITLE>
<!               Marcel.Bultez@Tiscali.fr               >
<!         http://marcel-Bultez.chez.Tiscali.fr         >
<!------------------------------------------------------>
<style type="text/css"> 
.but  { border:0;
        background-color:#C0C0C0;
        color:#400040;
        cursor:hand;
        font-family:Verdana;
        font-size=9px;
        font-weight=bold;  }
</style>
</HEAD>
<!---------------------------------------------------------------------->
<BODY style="overflow=hidden;
             font-family:Verdana;
             font-size=9px;
             font-weight=bold;"
      bgcolor="#FFCC99"
      leftmargin=5
      topmargin=5
      marginwidth=5
      marginheight=5>
<!---------------------------------------------------------------------->
<script type="Text/JavaScript">
var doc;
self.resizeTo(450,100);
				//-----------------
function w(l)	//-- Abréviation --
				//-----------------
{ doc.document.writeln(l); }
				//--------------------------
function cre()	//-- choix fichier validé --
				//--------------------------
 { if (frm.fic.value.length>0) 
      { doc=window.open("","Fichier","resizable=1,width=200,height=200,scrollbars=1");
        doc.document.open();
        w("<HTML><HEAD><TITLE>Fichier</TITLE>");
        w("<script type='Text/JavaScript'>");
        w("function nvdim() {");
        w(" ficaff.width=document.body.clientWidth;");
        w(" ficaff.height=document.body.clientHeight;");
        w(" } <\/script></HEAD>");
        w("<BODY onresize='nvdim();'");
        w(" bgcolor='#FFCC99' leftmargin=0 topmargin=0 marginwidth=0 marginheight=0>");
        w("<object data='"+frm.fic.value+"' name=ficaff type='text/plain'");
        w(" width='200' height='200'>"); 
        w("</BODY></HTML>");
        doc.document.close();  }  }
</script>
<!---------------------------------------------------------------------->
<form name=frm>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
choix du Fichier :<br>
 <input type=file
       name=fic
       size=64
       class=but><br><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<input type=button
       class=but
       value=valider
       onclick="cre();">
<input type=button
       class=but
       value="Quitter"
       onclick="opener=self; self.close();">
<input type=reset
       class=but
       value="Effacer"
       name=clear>
</form>
</BODY></HTML>
<!---------------------------------------------------------------------->